//
//  AppDelegate.h
//  Ticket
//
//  Created by 小禹宝宝 on 2017/10/9.
//  Copyright © 2017年 cy55. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, APPRootSwitchType) {
    APPRootSwitchTypeTab,   ///< 已登录后的主界面
    APPRootSwitchTypeLogin, ///< 登录
    APPRootSwitchTypeGuests ///< 游客
};

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

- (UINavigationController *)rootNavigationController;
- (void)selectTabIndex:(NSInteger)index;

- (void)switchRootViewController:(APPRootSwitchType)type;

@end

